package com.weakteam.orderonline.administratorconsole.gwt.client.util;

/**
 * @author Nail
 */
public class ConsoleLog {

    private static final ConsoleLog instance = new ConsoleLog();

    public static ConsoleLog getInstance() {
        return instance;
    }

    public native void debug(String text) /*-{
        console.log("DEBUG:" + text);
    }-*/;

    public native void info(String text) /*-{
        console.log("INFO:" + text);
    }-*/;

    public native void error(String text) /*-{
        console.log("ERROR:" + text);
    }-*/;

}
